﻿using WPFSchematics.Definition.Common;
using WPFSchematics.Definition.Shapes;
using WPFSchematics.Graphics.Views;

namespace OPSYS_Schematic.ShapeFoundation
{
    public static class ShapeViewExtension
    {
        public static void ChangedToolCommand(this IShapeView shapeView,ICommandShell commandShell)
        {
            shapeView.ToolShells.Clear();
            shapeView.ToolShells.Add(commandShell);
            shapeView.CurrentToolIndex = 0;}

    }
}